package org.dromara.exam.domain.bo;

import org.dromara.exam.domain.entity.ExamTagRel;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;

/**
 * 标签关联业务对象 exam_tag_data
 *
 * @author xiyin321
 * @date 2024-04-17
 */
@Data
@AutoMapper(target = ExamTagRel.class, reverseConvertGenerate = false)
public class ExamTagRelBo {

    /**
     * 关联ID
     */
    @NotNull(message = "数据关联ID不能为空", groups = {EditGroup.class})
    private Long relId;

    /**
     * 标签ID
     */
    @NotNull(message = "标签ID不能为空", groups = {EditGroup.class})
    private Long tagId;
}
